package com.botao.tip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.botao.tip.entity.Purchase;

/**
 * @author : vip865047755@126.com
 * @version :JDK1.8
 * @date : 2020-12-03 12:53
 * @File : PurchaseService.java
 * @software: IntelliJ IDEA
 */
public interface PurchaseService extends IService<Purchase> {

    /**
     * 更新Purchase采购合同
     *
     * @param id
     * @param title
     * @param product
     * @param supplier
     * @param tel
     * @param signingTime
     * @param state
     * @param manager
     * @return
     */
    Boolean updatePurchase(String id, String title, String product, String supplier, String tel, String signingTime, String state, String manager);

    /**
     * 插入
     *
     * @param title
     * @param product
     * @param supplier
     * @param tel
     * @param signingTime
     * @param state
     * @param manager
     * @return
     */
    Boolean insert(String title, String product, String supplier, String tel, String signingTime, String state, String manager);
}
